<div id="page" class="detailpage twocolumn clearfix">
    <div id="maincontent3" class="clearfix">
	<div id="detailview">
            <?php if(isset($breadcrums)){	?>
<div class="breadcrumb">

    <div class="main-title" xmlns:v="http://rdf.data-vocabulary.org/#">
            <span>
                <a href="<?php echo base_url();?>" class="home-icon">
                    Trang chủ
                </a>
            </span>
			<?php foreach ($breadcrums as $breadcrum){
				$breadcrum = (object)$breadcrum;
			?>
                <span typeof="v:Breadcrumb">
                    <a rel="v:url" property="v:title" class="breadcrumb-platform" href="<?php echo cate_url($breadcrum);?>">
                        <?php echo $breadcrum->CAT_NAME;?>
                    </a>
                </span>
				<?php }?>
                 
    </div>
	
</div><?php }?>

            <h1 class="detail-title">
                <img src="<?php echo $soft->SOFT_ICON;?>" class="software-icon" />
              <?php echo $soft->SOFT_NAME;?>
                    <em><?php echo $soft->SOFT_VERSION;?></em>
                                    <i><?php echo $soft->SOFT_NAME_DESCRIPTION;?></i>
            </h1>

            <div class="download-info top">
                    <a id="DownloadButtonTop"  title="Download Mr.Shot" 
                       href="<?php echo download_url($soft);?>" 
                       class="download-button">
                        <span>Tải về</span></a>
                                
            </div>
            <ul class="detail-info">
                <li class="rating-info clearfix">
                    <span class="item-label">Đánh giá:</span>
                    <span class="item-info" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
                        <meta itemprop="itemreviewed" content="Mr.Shot" />
                        <meta itemprop="photo" content="<?php echo image_src($soft->SOFT_THUMB);?>" />
                        <meta itemprop="rating" content="3" />
                        <meta itemprop="votes" content="1" />
                        <a class="rating-icon icon-3">
                            <span id="rating" data-rating="3" data-id="79576"></span>
                            <i>(1 Đánh giá )</i> </a>
                        <link rel="image_src" href="<?php echo image_src($soft->SOFT_THUMB);?>" />
                    </span>
                </li>
                    <li class="publisher-info">
                        <span class="item-label">Phát hành:</span>
                        
                        <a href="<?php echo $soft->MAN_LINK;?>" target="_blank" rel="nofolow"  >
                            <?php echo $soft->MAN_NAME;?>
                        </a>
                    </li>
                                    <li class="version-info">
                        <span class="item-label">Version:</span>
                        <span class="item-info"><?php echo $soft->SOFT_VERSION;?></span>
                    </li>
                <li class="license-info">
                    <span class="item-label">Sử dụng:</span>
                    <span class="item-info"><span class="<?php echo $soft->LICE_CODE;?>"><?php echo $soft->LICE_NAME;?></span>
</span>
                </li>
                    <li class="filesize-info">
                        <span class="item-label">Dung lượng:</span>
                        <span class="item-info">
<?php echo $soft->SOFT_FILESIZE;?></span>
                    </li>
				                                    <li class="downloads-info clearfix">
                        <span class="item-label">Lượt tải:</span>
                        <span class="item-info">
                            <?php echo numberFormat($soft->SOFT_DOWN);?>
                        </span>
                    </li>
                <li class="dateadded-info clearfix">
                    <span class="item-label">Ng&#224;y ph&#225;t h&#224;nh:</span>
                    <span class="item-info"><?php echo date("d/m/Y",$soft->SOFT_TIME_CREATE);?>
                    </span>
                </li>
                <li class="dateadded-info clearfix">
                    <span class="item-label">Ngày cập nhật:</span>
                    <span class="item-info"><?php echo date("d/m/Y",$soft->SOFT_TIME_UPDATE);?>
                    </span>
                </li>				

                    <li class="requirements-info">
                        <span class="item-label">Yêu cầu:</span>
                        <span class="item-info"><?php echo $soft->SOFT_REQUIREMENT_OS;?></span>
                    </li>
            </ul>
            <div class="screenshots">
                    <a class="featured-image"  target="_blank" href="<?php echo image_src($soft->SOFT_THUMB);?>">
                        <img src="<?php echo image_src($soft->SOFT_THUMB);?>" alt="<?php echo $soft->SOFT_NAME;?>"/>
                    </a> 
            </div>
            <div class="clear">
            </div>
            <div class="sharebox"></div>
           
            <div class="clear">
            </div>
            <div class="content-overview">
                    <div class="detail-content">
					<p style="text-align: justify;"><strong><?php echo $soft->SOFT_CONTENT_SHORT;?></strong></p>
					<?php echo $this->seo->decode_tag_html($soft->SOFT_CONTENT);?>
                        </div>
                    <div class="clear"></div>
                            </div>
			
			<div class="clear">
            </div>
			
			<div style="width:336px; margin:20px auto">
				
			</div>
			
            <div class="clear">
            </div>
                <div class="publisher-softwares">
                    <a  href="<?php echo man_url($soft);?>"  >Xem các phần mềm khác của <em><?php echo $soft->MAN_NAME;?></em></a>
                </div><?php	if(isset($tags) && $tags !='') {?>
                            <div class='tags'>
                    <span>Tìm thêm:</span><?php foreach($tags as $tag){ ?>
                        <a href="<?php echo base_url();?>search/<?php echo rawurlencode($tag->TAG_NAME);?>.html"><?php echo $tag->TAG_NAME;?></a><?php	}?>   </div><?php	}?>
   <?php echo $this->load->view($this->template->prefix_frontend . 'view/related');?>
           <div class="fb-comments" data-href="<?php echo soft_url($soft,$soft->CAT_CODE);?>" data-numposts="5" data-colorscheme="light"></div>
        </div>
        </div>
        </div>